home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_1 / gtdce11.zip / GTDCE.DOC < prev    next >
Text File  |  1992-04-04  |  3KB  |  90 lines

  1.                 ┌─────────────────────────────────────────────┐
  2.                 │    GTDCE v1.1 by Douglas Pippel (c) 1992    │
  3.                 │       For use with GT Power v15/16/17       │
  4.                 └─────────────────────────────────────────────┘
  5.  
  6.     Gets a caller's DCE baud rate from the GTUSER.BBS  in  the  GTPATH  and
  7.     returns an errorlevel based on that baud rate:
  8.  
  9.  
  10.                 DCE Baud Rate               Errorlevel Returned
  11.                 ─────────────               ───────────────────
  12.                     14400                           144
  13.                      9600                            96
  14.                      2400                            24
  15.                      1200                            12
  16.                       300                             3
  17.                  Unsuccessful                         0
  18.  
  19.  
  20.     GTDCE v1.0 will work with ANY version of GT Power from v15.01 on up. It
  21.     could  care  less about GT v17.00's Time Bank entries in GTUSER.BBS, so
  22.     you  don't  need  to worry about that. In situations where the Sysop is
  23.     running GT with a locked DTE rate, GTDCE can be used to  determine  the
  24.     caller's ACTUAL (DCE) baud rate so that appropriate action can be taken
  25.     in Door, external protocol or custom menu command batch files. Here's a
  26.     little example:
  27.  
  28.     @echo off
  29.     gtdce
  30.     if errorlevel 96 goto 9600
  31.     if errorlevel 24 goto 2400
  32.     if errorlevel 12 goto 1200
  33.     if errorlevel 3 goto 300
  34.     goto end
  35.     :9600
  36.     echo.
  37.     echo The caller's DCE baud rate is 9600.
  38.     echo.
  39.     goto end
  40.     :2400
  41.     echo.
  42.     echo The caller's DCE baud rate is 2400.
  43.     echo.
  44.     goto end
  45.     :1200
  46.     echo.
  47.     echo The caller's DCE baud rate is 1200.
  48.     echo.
  49.     goto end
  50.     :300
  51.     echo.
  52.     echo The caller's DCE baud rate is 300.
  53.     echo.
  54.     :end
  55.  
  56.  
  57.     GTDCE  requires no command line parameters at all. To get a help screen
  58.     from the program, just PASS it a command  line  parameter...it  doesn't
  59.     matter what it is. For example:
  60.  
  61.     GTDCE s
  62.  
  63.     Will display the help screen, as will:
  64.  
  65.     GTDCE sdasf2323rewfdsdqwaed
  66.  
  67.  
  68.     I hope that some of you find this program useful!
  69.  
  70.                          ──────────────────────────────
  71.  
  72.     HISTORY:
  73.  
  74.     4-3-92  Version 1.1 released. Adds support for 14400 DCE result codes.
  75.  
  76.     3-12-92 Version 1.0 released.
  77.  
  78.  
  79.                          ──────────────────────────────
  80.  
  81.     GTDCE is absolutely FREE. You really wouldn't want  to  pay  money  for
  82.     something  like  this  anyway.  It may be distributed with whatever you
  83.     like and used however, wherever and with whomever you like.
  84.  
  85.     DISCLAIMER:  Use  this  program ENTIRELY at your own risk! There are no
  86.     warranties  expressed or implied. The author will not be reponsible for
  87.     loss of data (or anything else) that  results  from  the  use  of  this
  88.     program.
  89.  
  90.